/*
 * @Project Name: spring-boot
 * @File Name: UserService
 * @Package Name: com.hhly.spring.boot.cache
 * @Date: 2017/12/13 17:52
 * @Creator: linshixing-1199
 * @line------------------------------
 * @修改人:
 * @修改时间:
 * @修改内容:
 */

package com.sm.shoplook.service.suit;

import java.util.List;

import com.sm.shoplook.domain.suit.SuitComment;
import com.sm.shoplook.vo.base.ApiException;
import com.sm.shoplook.vo.base.ApiResult;
import com.sm.shoplook.vo.suit.front.resp.ApiSuitCommentRespVo;

/**
 * @author chenpy-1072
 * @desc 套装评论
 * @date 2018/08/13
 * @see
 */
public interface ApiSuitCommentService {

	ApiResult<Integer> insertSuitComment(SuitComment suitComment) throws ApiException;

	ApiResult<List<ApiSuitCommentRespVo>> selectCommentsBySuitId(Integer suitId);

    /**
     * @Author chenpy
     * @Date 2018/8/29 17:26
     * @Description 获取套装的总评论数
     * @param suitId
     * @return
     */
	ApiResult<Integer> getSuitCommentCount(Integer suitId);
}
